﻿using System.Collections.Generic;

namespace Gqq.Csharpindepth.Chapter1
{
   public class Storage
    {
       public int StorageId { get; set; }
       public string StorageName { get; set; }


       /// <summary>
       /// 获得所有仓库列表
       /// </summary>
       /// <returns></returns>
       public static List<Storage> GetStorageLists()
       {
           return new List<Storage>
                      {
                          new Storage {StorageId = 1, StorageName = "St1"},
                          new Storage {StorageId = 2, StorageName = "St2"},
                          new Storage {StorageId = 3, StorageName = "St3"},
                      };
       }
    }
}
